﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace BatDongSan
{
    public partial class SearchProject : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            string _keyWord;

            int _fieldId;
            int _provinceId;
            int _wardId;
            try
            {
                try
                {
                    _keyWord = Request.QueryString["key"];
                }
                catch
                {
                    _keyWord = "";
                }

                _fieldId = Convert.ToInt32(Request.QueryString["f"]);
                _provinceId = Convert.ToInt32(Request.QueryString["tp"]);
                _wardId = Convert.ToInt32(Request.QueryString["quan"]);

                if (!IsPostBack)
                {
                    Uc_SearchProjectDetail1.LoadProject(_fieldId, _provinceId, _wardId, _keyWord);
                }
            }
            catch { }
        }
    }
}